package com.teach.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Select;

import com.teach.entity.CertificateType;

public interface CertificateTypeMapper {
    int deleteByPrimaryKey(Long typeId);

    int insert(CertificateType record);

    int insertSelective(CertificateType record);

    CertificateType selectByPrimaryKey(Long typeId);

    int updateByPrimaryKeySelective(CertificateType record);

    int updateByPrimaryKey(CertificateType record);
    

    @Select("select * from certificate_type ordey by type_id")
    List<CertificateType> selectAll();

    @Select("select * from certificate_type")
    List<CertificateType> select();
}